The AT^SISX command sends ICMP (Internet Control Message Protocol) Echo Requests to a target IP address or host name (also referred to as Ping command).
The
AT^SISX command can be used any time while a connection profile, i.e. a bearer, is active. The bearer may have been started either with
AT^SICO, or if a service is in use, with
AT^SISO. If issued although no bearer is active or no connection profile created at all,
AT^SISX returns ERROR.
The
AT^SISX write command starts the available service type
<service>, i.e. the ping command. The command returns one row for every ICMP Echo Request (max. 30 lines, see parameter
<request>). The last Ping response line is followed by an empty line, then another two lines appear to report a statistic calculated from the Echo Request responses. To stop the periodic ping type any character, e.g. "AT" or "at". After calling the ping command the AT channel is blocked until all ICMP requests are executed.
Sending the Ping command does not restart the inactivity timeout "inactTO" of the used connection profile (see
AT^SICS), i.e. if the bearer was opened with
AT^SICO the "inactTO" value remains "-1" (= inactivity timeout disabled), and if the bearer was opened with
AT^SISO the "inactTO" value set with
AT^SICS remains applicable. The Ping command can only be used to prevent that a network initiated inactivity timeout closes the bearer (see also description of
AT^SICO).